
#include<stdio.h>
 
main()
{
	int a,b,c,min;
	scanf("%d %d %d",&a,&b,&c);
	if(a>b)
	{
		min  = a;
		a = b;
		b = min;
	}
	if(a>c)
	{
		min = a;
		a = c;
		c = min;
	}
	if(b>c)
	{
		min = b;
		b = c;
		c = min;
	}
	printf("%d->%d->%d",a,b,c);
}

